package com.messe.base.models;

import java.sql.Timestamp;

/**
 * Budget entity. @author MyEclipse Persistence Tools
 */

public class Budget implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2565533755354809036L;
	// Fields

	private String id;
	// 编号
	private String code;
	// 科目id
	private BudgetSubject budgetSubject;
	// 预算金额
	private Double money;
	// pid
	private String parentId;
	// 预测金额
	private Double predictMoney;
	// 货币类型
	private BudgetCurrency  budgetCurrency;
	// 展会id
	private Exhibition exhibition;
	// 创建时间
	private Timestamp createdStamp;
	// 更新时间
	private Timestamp lastUpdatedStamp;
	// 创建人
	private Person createdId;
	/** 锁定 */
	private Integer locked;//1 已锁定 0 未锁定
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public BudgetSubject getBudgetSubject() {
		return budgetSubject;
	}
	public void setBudgetSubject(BudgetSubject budgetSubject) {
		this.budgetSubject = budgetSubject;
	}
	public Double getMoney() {
		return money;
	}
	public void setMoney(Double money) {
		this.money = money;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public Double getPredictMoney() {
		return predictMoney;
	}
	public void setPredictMoney(Double predictMoney) {
		this.predictMoney = predictMoney;
	}
	public BudgetCurrency getBudgetCurrency() {
		return budgetCurrency;
	}
	public void setBudgetCurrency(BudgetCurrency budgetCurrency) {
		this.budgetCurrency = budgetCurrency;
	}
	public Exhibition getExhibition() {
		return exhibition;
	}
	public void setExhibition(Exhibition exhibition) {
		this.exhibition = exhibition;
	}
	public Timestamp getCreatedStamp() {
		return createdStamp;
	}
	public void setCreatedStamp(Timestamp createdStamp) {
		this.createdStamp = createdStamp;
	}
	public Timestamp getLastUpdatedStamp() {
		return lastUpdatedStamp;
	}
	public void setLastUpdatedStamp(Timestamp lastUpdatedStamp) {
		this.lastUpdatedStamp = lastUpdatedStamp;
	}
	public Person getCreatedId() {
		return createdId;
	}
	public void setCreatedId(Person createdId) {
		this.createdId = createdId;
	}
	public Integer getLocked() {
		return locked;
	}
	public void setLocked(Integer locked) {
		this.locked = locked;
	}
	
	
	
	
}